package week08.company;

/**
 * Created by zhangxiaokun on 2018/3/20.
 */
public class Client {
    public static void main(String[] args) {
        Mediator mediator = new President();

        Department development = new Development(mediator);
        Department finacial  = new Finacial(mediator);
        Department market = new Market(mediator);

        development.selfAction();
//        development.outAction();

        market.selfAction();
        market.outAction();
//
//        finacial.selfAction();
//        finacial.outAction();
    }
}

//
